home *** CD-ROM | disk | FTP | other *** search
- {========================================================================}
- {= (c) 1995-98 SwiftSoft Ronald Dittrich =}
- {========================================================================}
- {= All Rights Reserved =}
- {========================================================================}
- {= D 01099 Dresden = Fax.: +49 (0)351-8037944 =}
- {= Loewenstr.7a = info@swiftsoft.de =}
- {========================================================================}
- {= Actual versions on http://www.swiftsoft.de/mmtools.html =}
- {========================================================================}
- {= This code is for reference purposes only and may not be copied or =}
- {= distributed in any format electronic or otherwise except one copy =}
- {= for backup purposes. =}
- {= =}
- {= No Delphi Component Kit or Component individually or in a collection=}
- {= subclassed or otherwise from the code in this unit, or associated =}
- {= .pas, .dfm, .dcu, .asm or .obj files may be sold or distributed =}
- {= without express permission from SwiftSoft. =}
- {= =}
- {= For more licence informations please refer to the associated =}
- {= HelpFile. =}
- {========================================================================}
- {= $Date: 11.08.98 - 14:55:07 $ =}
- {========================================================================}
- unit MMDSReg;
-
- {$I COMPILER.INC}
-
- Interface
-
- Procedure Register;
-
- Implementation
-
- {$R MMDSOUND.D32}
-
- uses
- Controls,
- Classes,
- DsgnIntf,
- SysUtils,
- MMObj,
- MMDSPObj,
- MMDesign,
- MMDSWOut,
- MMDSMix,
- MMDSEdtr,
- MMDSWvIn,
- MMDSCptr,
- MMDSCon,
- MMLevel,
- MMMeter;
-
- {=========================================================================}
- procedure Register;
- begin
- RegisterComponents('MMDSound', [TMMDSWaveOut,
- TMMDSWaveIn,
- TMMDSWaveMixer,
- TMMDSMixChannel,
- TMMDSEditor,
- TMMDSCapture,
- TMMDSCaptureChannel,
- TMMDSChannelConnector]);
-
- RegisterComponentEditor(TMMDSWaveMixer, TMMDSWaveMixerEditor);
- RegisterComponentEditor(TMMDSMixChannel, TMMDSMixChannelEditor);
- RegisterComponentEditor(TMMDSCaptureChannel, TMMDSWaveFormatComponentEditor);
-
- RegisterPropertyEditor(TypeInfo(TMMComponent),TMMDSEditor,'EditObject',TMMDSEditorEditObjectProperty);
- RegisterPropertyEditor(TypeInfo(TMMDS3DControl), nil, 'Sound3D', TMM3DSoundProperty);
- RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMDSChannelConnector,'Channel',TMMDSChannelConnectorEditor);
-
- RegisterPropertyEditor(TypeInfo(string), TMMDSCaptureChannel,'InputFormat',TMMDSWaveFormatProperty);
- end;
-
- initialization
- RegisterProperty(ptOutput,'DirectSound',TMMDSMixChannel,'Mixer',TMMDSWaveMixer,nil);
- RegisterProperty(ptInput,'DirectSound',TMMDSPComponent,'Channel',TMMDSChannelConnector,DSChannelConnectCheck);
- RegisterProperty(ptOutput,'DirectSound',TMMDSChannelConnector, 'Level1', TMMLevel, nil);
- RegisterProperty(ptOutput,'DirectSound',TMMDSChannelConnector, 'Level2', TMMLevel, nil);
- RegisterProperty(ptOutput,'DirectSound',TMMDSChannelConnector, 'Meter1', TMMMeter, nil);
- RegisterProperty(ptOutput,'DirectSound',TMMDSChannelConnector, 'Meter2', TMMMeter, nil);
-
- RegisterProperty(ptInput,'DirectSound',TMMDSCapture,'CaptureObject',TMMDSCaptureChannel,nil);
- RegisterProperty(ptOutput,'DirectSound',TMMDSEditor,'EditObject',TMMDSWaveMixer,nil);
- RegisterProperty(ptOutput,'DirectSound',TMMDSEditor,'EditObject',TMMDSMixChannel,nil);
- end.
-